﻿@model GameSchool.Models.Course

@{
    ViewBag.Title = "Eyða námskeiði";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>DeleteCourse</h2>

<h3>Ertu viss um að þú viljir eyða námskeiðinu?</h3>
<fieldset>
    <legend>Course</legend>

    <div class="display-label">Heiti námskeiðs:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CourseName)
    </div>

    <div class="display-label">Lýsing námskeiðs:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Aftur í lista", "CourseIndex")
    </p>
}
